package com.ltz.model;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * UserLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="mn_user_log")

public class UserLog  implements java.io.Serializable {


    // Fields    

     private Integer userlogid;
     private Integer userid;
     private String module;
     private String title;
     private String servletpath;
     private String description;
     private Integer visitcount;
     private Date lastvisittime;
     private String userip;
     private String userzt;


    // Constructors

    /** default constructor */
    public UserLog() {
    }

    
    /** full constructor */
    public UserLog(Integer userid, String module, String title, String servletpath, String description, Integer visitcount, Date lastvisittime, String userip, String userzt) {
        this.userid = userid;
        this.module = module;
        this.title = title;
        this.servletpath = servletpath;
        this.description = description;
        this.visitcount = visitcount;
        this.lastvisittime = lastvisittime;
        this.userip = userip;
        this.userzt = userzt;
    }

   
    // Property accessors
    @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="USERLOGID")

    public Integer getUserlogid() {
        return this.userlogid;
    }
    
    public void setUserlogid(Integer userlogid) {
        this.userlogid = userlogid;
    }
    
    @Column(name="USERID")

    public Integer getUserid() {
        return this.userid;
    }
    
    public void setUserid(Integer userid) {
        this.userid = userid;
    }
    
    @Column(name="MODULE", length=50)

    public String getModule() {
        return this.module;
    }
    
    public void setModule(String module) {
        this.module = module;
    }
    
    @Column(name="TITLE", length=100)

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    @Column(name="SERVLETPATH", length=100)

    public String getServletpath() {
        return this.servletpath;
    }
    
    public void setServletpath(String servletpath) {
        this.servletpath = servletpath;
    }
    
    @Column(name="DESCRIPTION", length=100)

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    @Column(name="VISITCOUNT")

    public Integer getVisitcount() {
        return this.visitcount;
    }
    
    public void setVisitcount(Integer visitcount) {
        this.visitcount = visitcount;
    }
    @Column(name="LASTVISITTIME", length=0)

    public Date getLastvisittime() {
        return this.lastvisittime;
    }
    
    public void setLastvisittime(Date lastvisittime) {
        this.lastvisittime = lastvisittime;
    }
    
    @Column(name="USERIP", length=50)

    public String getUserip() {
        return this.userip;
    }
    
    public void setUserip(String userip) {
        this.userip = userip;
    }
    
    @Column(name="USERZT", length=50)

    public String getUserzt() {
        return this.userzt;
    }
    
    public void setUserzt(String userzt) {
        this.userzt = userzt;
    }
   








}